import requests
import json

# 定义请求的url地址
url = "http://10.12.129.213/api/Account/Login/"

# 定义请求头部信息
headers = {
    "accept": "application/json, text/plain, */*",
    "content-type": "application/json"
}

# 定义请求的数据
data = {
    "username": "xiaosongzhuo",
    "password": "auosong2030.."
}

# 使用post方法发起请求
response = requests.post(url=url, headers=headers, data=json.dumps(data))

# 打印响应状态和内容
print("响应状态", response.status_code)
print("响应内容", response.text)
